﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using ServerFramework.Net.Http;

namespace HttpServer
{
    class HelloRoute : ServerFramework.Net.Http.IHttpRoute
    {
        bool IHttpRoute.Process(HttpListenerRequest request, HttpListenerResponse response)
        {
            response.Close(Encoding.UTF8.GetBytes("hello,i am server"), false);
            return true;
        }
    }
}
